package com.tensquare.articlecrawler.client;

import org.springframework.stereotype.Component;

import com.tensquare.dto.Article;
import com.tensquare.dto.Result;
import com.tensquare.dto.StatusCode;

/**
 * 熔断类
 * @author Johnny.Chen
 *
 */
@Component
public class ArticleClientImpl implements ArticleClient{

	@Override
	public Result add(Article article) {
		return new Result(false,StatusCode.REMOTE_ERROR,"远程调用文章微服务失败");
	}

}
